<template>
  <el-table class="mytable"
      :data="myTableData.data"
      style="width: 100%">
      <el-table-column
        prop="date"
        label="日期"
        width="180">
      </el-table-column>
      <el-table-column
        prop="name"
        label="姓名"
        width="180">
      </el-table-column>
      <el-table-column
        prop="address"
        label="地址">
      </el-table-column>
    </el-table>
</template>

<script>
export default {
    props: ['myTableData'],  
      data() {
        return {
          
        }
      }
    }
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
   .el-table tr{
    background:#2c343c;
    color:#ffffff;
  }
  .el-table thead.is-group th{
    background:#2c343c;
  }
</style>
